import type { RouteRecordRaw } from 'vue-router';

import { BasicLayout } from '#/layouts';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'material-symbols:settings',
      keepAlive: true,
      order: 1000,
      title: '系统设置',
    },
    name: '系统设置',
    path: '/system',
    children: [
      {
        meta: {
          icon: 'material-symbols:account-circle-full',
          title: '账号管理',
        },
        name: '账号管理',
        path: '/system/account',
        component: () => import('#/views/account/index.vue'),
      },
      // {
      //   meta: {
      //     title: $t('demos.form'),
      //   },
      //   name: 'BasicForm',
      //   path: '/demos/form',
      //   component: () => import('#/views/demos/form/basic.vue'),
      // },
    ],
  },
];

export default routes;
